package com.cslg.questionnaires.utils;

import java.util.HashMap;
import java.util.Map;

public class ServiceMessageBuilder {
    public static HashMap<String,Object> buildMessage(int code,String message,Object data){
        HashMap<String,Object> map = new HashMap<String, Object>();
        map.put("code",code);
        map.put("msg",message);
        map.put("data",data);
        return map;
    }
}
